package com.ibangnuo.manage.dao.employee;

import com.ibangnuo.framework.domain.Agent;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Map;

/**
 * @Author:ly
 * @Data:2019/12/27 17:23
 * @Verdion:1.0
 */
@Mapper
public interface AgentMapper {


    List<Agent> findAll(String byUserId);


    List<Agent> findAllcompanyName();

    //根据代理商id查询下级代理商id
    List<Agent> findByParentId(String agentId);

    List<String> findIdByAgentId(List<String> list);

}
